package com.kch.system.mapper;

import com.kch.system.domain.SysBanner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysBannerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysBanner record);

    int insertSelective(SysBanner record);

    SysBanner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysBanner record);

    int updateByPrimaryKey(SysBanner record);

    List<SysBanner> selectPageList(SysBanner sysBanner);

    List<SysBanner> selectByCode(@Param("code") String code);
}